home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / xview / genial / include / common.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-14  |  448 b   |  23 lines

  1. /*
  2.  * common.h -- for use in files that use arch/base/common.c
  3.  *
  4.  */
  5.  
  6. #include <string.h>
  7. #include <math.h>
  8. #include <malloc.h>
  9.  
  10. #define BSIZE 1024 /* number of points to realloc() at a time */
  11. #define paddr(i,j,img) img->data+j*img->width+i
  12.  
  13. extern double distance(), idist();
  14.  
  15. extern unsigned long dval(), getpix();
  16.  
  17. extern char *fstring();
  18.  
  19. extern unsigned char readhex();
  20.  
  21. extern char *sys_errlist[]; /* system error list */
  22. extern int errno;
  23.